﻿@-webkit-keyframes iui-fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@-moz-keyframes iui-fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@-ms-keyframes iui-fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@-o-keyframes iui-fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@keyframes iui-fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@-webkit-keyframes iui-fadeOut {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

@-moz-keyframes iui-fadeOut {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

@-ms-keyframes iui-fadeOut {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

@-o-keyframes iui-fadeOut {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

@keyframes iui-fadeOut {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.dropdown-multiple,
.dropdown-multiple-label,
.dropdown-single {
    position: relative
}

    .dropdown-multiple-label.active .dropdown-main,
    .dropdown-multiple.active .dropdown-main,
    .dropdown-single.active .dropdown-main {
        display: block;
        -webkit-animation: iui-fadeIn .2s ease-in forwards;
        -moz-animation: iui-fadeIn .2s ease-in forwards;
        -ms-animation: iui-fadeIn .2s ease-in forwards;
        -o-animation: iui-fadeIn .2s ease-in forwards;
        animation: iui-fadeIn .2s ease-in forwards
    }

    .dropdown-multiple-label.active .dropdown-display-label:after,
    .dropdown-multiple-label.active .dropdown-display:after,
    .dropdown-multiple.active .dropdown-display-label:after,
    .dropdown-multiple.active .dropdown-display:after,
    .dropdown-single.active .dropdown-display-label:after,
    .dropdown-single.active .dropdown-display:after {
        border-top: none;
        border-bottom: 6px solid #a8abb2;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent
    }

    .dropdown-multiple-label.active .dropdown-display,
    .dropdown-multiple-label.active .dropdown-display-label,
    .dropdown-multiple.active .dropdown-display,
    .dropdown-multiple.active .dropdown-display-label,
    .dropdown-single.active .dropdown-display,
    .dropdown-single.active .dropdown-display-label {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0
    }

.dropdown-display,
.dropdown-display-label {
    position: relative;
    display: block;
    margin-top: -15px;
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    box-sizing: border-box;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid #767676;
    border-radius: 2px;
    color: #333;
    background-color: #fff
}

    .dropdown-display-label:after,
    .dropdown-display:after {
        content: '';
        position: absolute;
        border-top: 6px solid #a8abb2;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        top: 11px;
        right: 3px;
    }

.dropdown-clear-all {
    background-color: #fff;
    border: none;
    display: none;
    font-size: 14px;
    color: #a8abb2;
    z-index: 999;
    position: absolute;
    top: 0;
    right: 1px;
    width: 15px;
    height: 20px;
    text-align: center;
    line-height: 30px;
}

    .dropdown-clear-all:focus {
        outline: 0;
    }

    .dropdown-clear-all:hover {
        color: #ccc;
        text-decoration: none;
    }

.dropdown-display {
    white-space: nowrap;
    padding: 0 15px;
}

.dropdown-multiple:hover .dropdown-clear-all,
.dropdown-single:hover .dropdown-clear-all {
    display: block;
}

.dropdown-display .dropdown-chose-list {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #606266;
}

    .dropdown-display .dropdown-chose-list span:before {
        content: ','
    }

    .dropdown-display .dropdown-chose-list span:first-child:before {
        content: ''
    }

.dropdown-display .placeholder {
    display: none
}

    .dropdown-display .placeholder:first-child {
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        color: #a8abb2;
        font-size: 14px;
        line-height: 38px;
        padding-left: 15px;
        box-sizing: border-box;
    }

.dropdown-display input {
    border: 0;
    outline: 0
}

.dropdown-display-label {
    cursor: text;
    padding: 5px 25px 5px 0;
}

    .dropdown-display-label .dropdown-search {
        display: inline-block
    }

    .dropdown-display-label input,
    .dropdown-display-label input:focus {
        border: none;
        outline: 0
    }

    .dropdown-display-label .dropdown-chose-list {
        /* display: inline-block;
  padding: 0 5px; */
        position: absolute;
        top: 5px;
        right: 25px;
        left: 5px;
        bottom: 5px;
        overflow: hidden;
        display: flex;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

        .dropdown-display-label .dropdown-chose-list .placeholder {
            display: none;
        }

    .dropdown-display-label .dropdown-selected {
        position: relative;
        padding: 0px 20px 0 5px;
        margin-right: 5px;
        border: 1px solid #4E6EF2;
        max-width: 100%;
        height: 28px;
        line-height: 28px;
        border-radius: 3px;
        background-repeat: repeat-x;
        cursor: default;
        display: inline-block;
        box-sizing: border-box;
        background-color: #f5f7fa;
        color: #4E6EF2;
    }

        .dropdown-display-label .dropdown-selected .del {
            -webkit-appearance: none;
            padding: 0;
            cursor: pointer;
            background: 0 0;
            border: 0;
            float: right;
            line-height: 1;
            color: #4E6EF2;
            position: absolute;
            right: 5px;
            top: 4px;
        }

            .dropdown-display-label .dropdown-selected .del:after {
                content: '\D7';
                font-size: 16px
            }

.dropdown-main {
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 1010;
    width: 100%;
    color: #444;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e4e7ed;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, .12);
    margin-top: -1px;
    border-top: 0;
    display: none
}

    .dropdown-main ul {
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 274px;
        margin: 0;
        padding: 0
    }

    .dropdown-main .custom_box {
        display: none;
    }

    .dropdown-main input {
        margin-top: 0;
        display: block;
        box-sizing: border-box;
        height: 30px;
        border: 1px solid #ccc;
        width: 100%;
        text-indent: 5px;
        border-radius: 3px
    }

    .dropdown-main .dropdown-search {
        display: block;
        padding: 5px 0
    }

.dropdown-group {
    font-weight: 700
}

.dropdown-group,
.dropdown-option {
    margin: 0;
    list-style: none;
    line-height: 26px;
    word-wrap: break-word;
}

.dropdown-option {
    cursor: pointer;
    font-size: 12px;
    color: #606266;
    height: 34px;
    line-height: 34px;
    display: flex;
}

    .dropdown-option span {
        flex: 1;
    }

    .dropdown-option .dropdown-option-text {
        text-align: left;
        padding: 0 20px;
    }

    .dropdown-option:focus,
    .dropdown-option:hover {
        background-color: #f5f7fa;
        outline: 0;
    }

    .dropdown-option[disabled] {
        color: #ddd;
        background-color: #ddd;
        cursor: not-allowed;
        text-decoration: line-through
    }

    .dropdown-option .selected {
        display: none;
        font-size: 16px;
        color: #4A75F6;
        transform: all 0.3s;
        padding: 0 10px;
    }

    .dropdown-option .not_selected {
        font-size: 16px;
        color: #D9D9D9;
        transform: all 0.3s;
        padding: 0 10px;
    }

    .dropdown-option.dropdown-chose {
        background-color: #f5f7fa;
        color: #4E6EF2;
    }

        .dropdown-option.dropdown-chose .not_selected {
            display: none;
        }

        .dropdown-option.dropdown-chose .selected {
            display: block;
        }

.dropdown-maxItem-alert {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e4e3e2;
    width: 100%;
    height: 39px;
    line-height: 39px;
    padding: 0 5px;
    border-radius: 5px;
    color: #999;
    -webkit-animation: iui-fadeIn .2s ease-in forwards;
    -moz-animation: iui-fadeIn .2s ease-in forwards;
    -ms-animation: iui-fadeIn .2s ease-in forwards;
    -o-animation: iui-fadeIn .2s ease-in forwards;
    animation: iui-fadeIn .2s ease-in forwards
}
